package cn.ohyeah.itvgame.model;

import java.io.DataInputStream;
import java.io.IOException;

public class PurchasePropRecord {
	private int propId;
	private String propName;
	private int price;
	private String remark;
	private String time;
	
	public int getPropId() {
		return propId;
	}
	public void setPropId(int propId) {
		this.propId = propId;
	}
	public String getTime() {
		return time;
	}
	public void setTime(String time) {
		this.time = time;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	
	public void setPropName(String propName) {
		this.propName = propName;
	}
	public String getPropName() {
		return propName;
	}
	
	public void setPrice(int price) {
		this.price = price;
	}
	public int getPrice() {
		return price;
	}
	
	public void readQueryResponseData(DataInputStream dis) throws IOException {
		propId = dis.readInt();
		propName = dis.readUTF();
		price = dis.readInt();
		remark = dis.readUTF();
		time = dis.readUTF();
	}


	
	
}
